home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / General / MM3MCp.sea Folder / Made by Marksman / Sources / u / commonMM_Demo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-16  |  1.3 KB  |  35 lines  |  [TEXT/MMCC]

  1. /*  commonMM_Demo                         Common */
  2. /*  Copyright © 1994 George R. Cossey */
  3.  
  4. /* 
  5.     File name:  commonMM_Demo.h   
  6.     Function:  Common variables for program specific code.
  7.     History: 1/16/94 Original by George Cossey
  8.  
  9.    */
  10.  
  11. /* ======================================================= */
  12. /* ======================================================= */
  13.  
  14.  
  15. #include "Folders.h"        /* For FindFolder */
  16.  
  17. #define    PrefsCreator        'xxxx'            /* Creator, this has to be the same as your App */
  18. #define    PrefsType            'Pref'            /* Type, this has to match the type in your BNDL */
  19. #define    PrefsFileName        "\pMy Prefs"    /* This is the name of your prefs file */
  20.  
  21. #define    PrefsFormatRevision        1            /* Change each time the format changes */
  22.  
  23. /* NOTE : FormatRevision MUST be first in the record, and always a short */
  24. typedef struct PrefsRec{                            /* Preferences Record definition */
  25.     /* ALWAYS KEEP FormatRevision AS THE FIRST ELEMENT IN THIS RECORD */
  26.     short            FormatRevision;        /* FIRST ALWAYS, Change each time the format changes */
  27.     WindowLocRec    theWindowLocRec;    /* For saving window positions */
  28.  
  29.     /* Add other preference variable definitions after this line */
  30.  
  31. }PrefsRec,*PrefsPRec,**PrefsHRec;
  32.  
  33. /* ======================================================= */
  34. /* ======================================================= */
  35.